<%
String userid =
(String)request.getSession().getAttribute(com.wing.common.Constants.SESSION_USER_ID);
if(userid==null){
	response.sendRedirect(request.getContextPath()+"/sys/get/login");
}

String path =  request.getContextPath();  
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1 
response.setHeader("Pragma","no-cache"); //HTTP 1.0 
response.setDateHeader ("Expires", 0);
String skinPath = path+"/resources/skins/default";
String imgPath = skinPath+"/images";

session.setAttribute("skinPath", skinPath);
session.setAttribute("cssFile", imgPath);
%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<script type="text/javascript"
	src="<%=path %>/resources/js/jquery-1.4.4.min.js"></script>
<script type="text/javascript"
	src="<%=path %>/resources/js/jquery-ui-1.8.7.custom.min.js"></script>
<script type="text/javascript"
	src="<%=path %>/resources/js/jquery.easing.1.3.js"></script>
<script type="text/javascript"
	src="<%=path %>/resources/js/jquery-AeroWindow.js"></script>

<script type="text/javascript"
	src="<%=path %>/resources/js/paperTable.js"></script>
<script type="text/javascript"
	src="<%=path %>/resources/js/jquery.form.js"></script>
<script type="text/javascript"
	src="<%=path %>/resources/js/formValidator.js"></script>
<script type="text/javascript"
	src="<%=path %>/resources/js/formValidatorRegex.js"></script>
<script type="text/javascript"
	src="<%=path %>/resources/js/select.js"></script>
<script type="text/javascript"
	src="<%=path %>/resources/js/innerhtml.js"></script>

<link rel="stylesheet"
	href="${skinPath}/css/common.css"
	type="text/css" />
<link rel="stylesheet"
	href="${skinPath}/css/style.css"
	type="text/css"/>
<link rel="stylesheet"
	href="${skinPath}/css/AeroWindow.css"
	type="text/css"/>
<link rel="stylesheet"
	href="${skinPath}/css/validator.css"
	type="text/css"/>
<link rel="stylesheet"
	href="${skinPath}/ui-lightness/jquery-ui-1.8.13.custom.css"
	type="text/css"/>
<script type="text/javascript"
	src="<%=path %>/resources/js/wingcms.js"></script>



